//
//  HomeTitleBtn.swift
//  TakeTime
//
//  Created by bachelor on 16/11/12.
//  Copyright © 2016年 bachelor. All rights reserved.
//

import UIKit

class HomeTitleBtn: UIButton {

    /*
    // Only override draw() if you perform custom drawing.
    // An empty implementation adversely affects performance during animation.
    override func draw(_ rect: CGRect) {
        // Drawing code
    }
    */
    override func layoutSubviews() {
        super.layoutSubviews()
        
        titleLabel?.frame.origin.x = 0
        
        imageView?.frame.origin.x = (titleLabel?.frame.size.width)!
        
        
    }
}
